<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1">
<title></title>
<script type="text/javascript" src="javascript/jquery.js"></script>
<script type="text/javascript" src="javascript/api.js"></script>
    <script type="text/javascript">



    </script>
<link rel="stylesheet" href="css/content.css">
<script type="text/javascript">
<!--$(document).ready(function(){-->
	<!--GetJson("https://jiujiukeji002.qkk.cn","144","29");-->
<!--});-->
function GetJson(url,companyid,id){
	//alert("url:" + url + " cdkey:" + cdkey + " timestamp:" + timestamp + " id:" + id + "");
	//加载新闻详细内容
	$.getJSON(url + "/api/json/content/content.ashx?action=content&companyid=" + companyid + "&id=" + id + "&jsoncallback=?",function(json){
		if (json.status>0){
			<!--$("header h1").text(json.status);-->
			<!--$(document).attr("title", json.content[0].title);-->
			<!--$("header .time").text(json.content[0].price);-->
			$("article").html(json.content[0].content);
			var imgs = document.getElementsByTagName("img");
            for(var i=0;i<imgs.length;i++){
                var imgList = imgs [i].src.replace(/file:/g,"http:");
                <!--$("imgs").attr("src",imgList);-->
                imgs[i].src=imgList;
            }
			$("#content .m-news-up span").text(json.content[0].price2);
			$("#content .m-news-up").click(function(){
				$.getJSON(url + "/api/json/content/content.ashx?action=content&companyid=" + companyid + "&id=" + id +  "&jsoncallback=?",function(json2){
					if (json2.status>0){
						$("#content .m-news-up span").text('' + json2.conup + '');
					}
				});
			});
			//加载评论数量
			<!--$.getJSON(url + "/comment/api.ashx?action=elite&id=" + id + "&count=3&cdkey=" + cdkey + "&timestamp=" + timestamp + "&jsoncallback=?",function(data){-->
				<!--var commentCount="0";-->
				<!--if (data.status>0){-->
					<!--if (data.newscomments.length>0){-->
						<!--var strHTML='';-->
						<!--for (var i=0;i<data.newscomments.length;i++){-->
							<!--strHTML+='<div class="m-item">';-->
							<!--strHTML+='<div class="m-item-title">';-->
							<!--if (data.newscomments[i].memberface!=''){-->
								<!--strHTML+='<div class="avatar"><img src="' + data.newscomments[i].memberface + '" style="width:32px;height:32px;border-radius:16px;" /></div>';//头像-->
							<!--} else {-->
								<!--strHTML+='<div class="avatar"></div>';//头像-->
							<!--}-->
							<!--strHTML+='<div class="name">' + data.newscomments[i].commentname + '</div>';-->
							<!--strHTML+='<div class="ding">' + data.newscomments[i].commentup + '<img src="images/zan.png"></div>';-->
							<!--strHTML+='<div class="city">' + data.newscomments[i].commentipaddress + '网友 ' + data.newscomments[i].commentaddminute + '</div>';-->
							<!--strHTML+='</div>';-->
							<!--strHTML+='<div class="m-comment-content">';-->
							<!--strHTML+='<div class="m-comment-text">' + data.newscomments[i].commentconent + '</div>';-->
							<!--strHTML+='</div>';-->
							<!--strHTML+='</div>';-->
						<!--}-->
						<!--$(".m-comment .m-comment-list").append(strHTML);-->
						<!--//评论按钮事件-->
						<!--$(".m-comment .m-comment-list .m-item, .m-comment .m-down-tie a").click(function(){-->
							<!--APP_OpenComment(id);-->
						<!--});-->
						<!--//显示评论-->
						<!--$(".m-comment").show();-->
					<!--}-->
				<!--}-->
				<!--$.getJSON(url + "comment/api.ashx?action=commentcount&id=" + id + "&cdkey=" + cdkey + "&timestamp=" + timestamp + "&jsoncallback=?",function(data2){-->
					<!--commentCount=data2.count;-->
					<!--//调用关闭Loading事件-->
					<!--APP_News_CloseLoading(commentCount);-->
				<!--});-->
			<!--});-->
		}
	});
}
</script>
</head>

<body>
<script>!function(t,e){var i=t.documentElement,n="orientationchange"in window?"orientationchange":"resize",d=navigator.userAgent.match(/iphone|ipad|ipod/i),a=function(){var e=i.clientWidth,n=i.clientHeight;e&&(e>=750?(e=750,t.body.style.width="750px"):t.body.style.width=e+"px",t.body.style.height=n+"px",i.style.fontSize=100*(e/750)+"px",i.dataset.percent=100*(e/750),i.dataset.width=e,i.dataset.height=n)};a(),d&&t.documentElement.classList.add("iosx"+e.devicePixelRatio),t.addEventListener&&e.addEventListener(n,a,!1)}(document,window)</script>
<div id="content"> 
  <div class="section1">	
      <!-- 标题 -->
      <!--<header>-->
        <!--<h1>标题</h1>-->
        <!--<div class="source-info">-->
            <!--<a>-->
                <!--<img class="header" src="images/tsty.png" alt="">-->
                <!--<div class="source">-->
                    <!--<p class="tname"></p><p class="time"></p>-->
                <!--</div>-->
             <!--</a>-->
         <!--</div>-->
      <!--</header>-->
      <!-- 正文 -->
      <article>
        <p>内容</p>
      </article>
      <!--<div style="text-align:center;"><div class="m-news-up"><a>♥ <span>0</span>人喜欢</a></div></div>-->
  </div>
  <!-- 评论 -->
  <div class="m-comment" style="display:none;">
    <div class="m-comment-title"> 热门评论 </div>
    <div class="m-comment-list">
      
    </div>
    <div class="m-down-tie"><a>查看更多评论 ></a></div>
  </div>
</div>
</body>
</html>